<?php
$link =  mysqli_connect("localhost","root","root","students");
$id = $_POST['id'];

// $sql1 = "UPDATE `tables`SET is_delete=0 where id=$id";//假删
$sql = "DELETE FROM `tables` WHERE id=$id";
mysqli_query($link,$sql);
?>